class DockerInfo{

  DockerInfo(
      this.dockerID,
      this.dockerFrom,
      this.dockerName,
      this.dockerCid,
      this.dockerTag,
      this.dockerFile
      );

  int? dockerID;
  String dockerFrom;
  String dockerName;
  String dockerCid;
  String dockerTag;
  String dockerFile;

  DockerInfo.fromJson(Map<String, dynamic> json)
      : dockerID=json['docker_id'],
        dockerFrom = json['docker_from'],
        dockerName = json['docker_name'],
        dockerCid = json['docker_cid'],
        dockerTag = json['docker_tag'],
        dockerFile = json['docker_file'];



  Map<String, Object?> toMap()=> {
    'docker_id':dockerID,
    'docker_from':dockerFrom,
    'docker_name':dockerName,
    'docker_cid':dockerCid,
    'docker_tag':dockerTag,
    'docker_file':dockerFile
  };
}